package com.yyfax.account.dao;

import com.yyfax.account.domain.DayChangeRecord;
import org.apache.ibatis.annotations.Param;

public interface DayChangeRecordDao {

	/**
	 * @mbggenerated
	 */
	int insert(DayChangeRecord record);

	/**
	 * @mbggenerated
	 */
	int update(DayChangeRecord record);

	/**
	 * 查找距离appointDate最近的成功的日切记录
	 * 
	 * @author maojian
	 * @date 2017-09-05 15:19:40
	 * @since v1.0.0
	 * @param appointDate
	 * @return DayChangeRecord
	 */
	DayChangeRecord queryLatestByDate(@Param("appointDate") String appointDate);
}